/**
 * @license Copyright (c) 2003-2015, CKSource - Frederico Knabben. All rights reserved.
 * For licensing, see LICENSE.md or http://ckeditor.com/license
 */

CKEDITOR.editorConfig = function( config ) {
	// Define changes to default configuration here. For example:
	// config.language = 'fr';
	// config.uiColor = '#AADC6E';
        config.height = '375px';
        config.toolbar = [
            {name:'document',items:['Source','-','Preview']},
            {name:'cliboard',items:['Undo', 'Redo','-','Copy','-','Paste','-','PasteText','-','PasteFromWord']},
            {name:'align',items:['JustifyLeft','JustifyCenter','JustifyRight','JustifyBlock']},
            {name:'basic_style',items:['Bold','-','Italic','-','Underline','-','Strike','-','Subscript','-','Superscript','-','RemoveFormat']},
            {name:'list_style',items:['NumberedList','BulletedList','-','Outdent','Indent']},
            {name:"insert",items:['Image','Flash','Table','HorizontalRule','Iframe','Link','Unlink','Anchor']},
            { name: 'styles', items: [ 'Styles', 'Format', 'Font', 'FontSize' ] },
            { name: 'colors', items: [ 'TextColor', 'BGColor' ] },
            { name: 'tools', items: [ 'Maximize', 'ShowBlocks' ] },
        ];
        config.extraPlugins = 'codemirror';
        config.codemirror = { theme: 'blackboard',  autoFormatOnStart: true, autoFormatOnModeChange: false };
        config.allowedContent = true;
        
};